package com.kaifamiao.service;

import com.kaifamiao.entity.User;
import com.kaifamiao.exception.ServiceException;

public interface UserService {

    String encrypt(String source,String salt);

    boolean save(User user) throws ServiceException;

    User find(Integer id) throws ServiceException;

}
